package com.learn.project2.model.vo.wx.order;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Classname OrderListVO2
 * @Description
 * @author王茁
 * @Date 2022/1/11 14:19
 */
@Data
public class OrderListVO2 {

    /**
     * total : 82
     * pages : 9
     * limit : 10
     * page : 1
     * list : [{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111334952","actualPrice":459,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","price":459,"id":169,"goodsName":"Carat钻石 不粘厨具组合","specifications":["标准"]}],"id":119,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111833150","actualPrice":459,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","price":459,"id":168,"goodsName":"Carat钻石 不粘厨具组合","specifications":["标准"]}],"id":118,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111723782","actualPrice":237,"goodsList":[{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/erlgbqw9gfidm03gcb4e.jpg","price":5,"id":167,"goodsName":"1","specifications":["标准"]}],"id":117,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111232416","actualPrice":4463,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/c5be2604c0e4186a4e7079feeb742cee.png","price":3999,"id":164,"goodsName":"云端沙发组合","specifications":["标准"]},{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/erlgbqw9gfidm03gcb4e.jpg","price":5,"id":165,"goodsName":"1","specifications":["标准"]},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","price":459,"id":166,"goodsName":"Carat钻石 不粘厨具组合","specifications":["标准"]}],"id":116,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111737035","actualPrice":449,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","price":459,"id":163,"goodsName":"Carat钻石 不粘厨具组合","specifications":["标准"]}],"id":115,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111301931","actualPrice":237,"goodsList":[{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/erlgbqw9gfidm03gcb4e.jpg","price":5,"id":162,"goodsName":"1","specifications":["标准"]}],"id":114,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"未付款","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111800253","actualPrice":41254,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","price":459,"id":158,"goodsName":"Carat钻石 不粘厨具组合","specifications":["标准"]},{"number":3,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/s3z11mw7ut2o0l4i8dwu.jpg","price":6299,"id":159,"goodsName":"华为Mate40 Pro","specifications":["128G","256G"]},{"number":2,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/re5j2au9guoni68d64jg.jpeg","price":10000,"id":160,"goodsName":"杰宝","specifications":["标准"]},{"number":2,"picUrl":"http://yanxuan.nosdn.127.net/1f67b1970ee20fd572b7202da0ff705d.png","price":999,"id":161,"goodsName":"母亲节礼物-舒适安睡组合","specifications":["1.5m床垫*1+枕头*2","浅杏粉"]}],"id":113,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"已取消","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111139406","actualPrice":261,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png","price":29,"id":157,"goodsName":"魔兽世界 联盟 护腕 一只","specifications":["标准"]}],"id":112,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"已取消(系统)","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111937629","actualPrice":7380,"goodsList":[{"number":2,"picUrl":"http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png","price":99,"id":153,"goodsName":"魔兽世界-伊利丹颈枕眼罩套装","specifications":["标准"]},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/c1c62211a17b71a634fa0c705d11fb42.png","price":888,"id":154,"goodsName":"魔兽世界 部落 奥格瑞玛 拉杆箱 可登机","specifications":["标准"]},{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/s3z11mw7ut2o0l4i8dwu.jpg","price":6299,"id":155,"goodsName":"华为Mate40 Pro","specifications":["128G","256G"]},{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/erlgbqw9gfidm03gcb4e.jpg","price":5,"id":156,"goodsName":"1","specifications":["标准"]}],"id":111,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}},{"orderStatusText":"已取消(系统)","aftersaleStatus":0,"isGroupin":false,"orderSn":"20220111855350","actualPrice":26204,"goodsList":[{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/s3z11mw7ut2o0l4i8dwu.jpg","price":6299,"id":150,"goodsName":"华为Mate40 Pro","specifications":["128G","256G"]},{"number":2,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/re5j2au9guoni68d64jg.jpeg","price":10000,"id":151,"goodsName":"杰宝","specifications":["标准"]},{"number":1,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/erlgbqw9gfidm03gcb4e.jpg","price":5,"id":152,"goodsName":"1","specifications":["标准"]}],"id":110,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}}]
     */

    private int total;
    private int pages;
    private int limit;
    private int page;
    private List<ListBean> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * orderStatusText : 未付款
         * aftersaleStatus : 0
         * isGroupin : false
         * orderSn : 20220111334952
         * actualPrice : 459.0
         * goodsList : [{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","price":459,"id":169,"goodsName":"Carat钻石 不粘厨具组合","specifications":["标准"]}]
         * id : 119
         * handleOption : {"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false,"aftersale":false}
         */

        private String orderStatusText;
        private int aftersaleStatus;
        private boolean isGroupin;
        private String orderSn;
        private BigDecimal actualPrice;
        private int id;
        private HandleOptionBean handleOption;
        private List<GoodsListBean> goodsList;

        public String getOrderStatusText() {
            return orderStatusText;
        }

        public void setOrderStatusText(String orderStatusText) {
            this.orderStatusText = orderStatusText;
        }

        public int getAftersaleStatus() {
            return aftersaleStatus;
        }

        public void setAftersaleStatus(int aftersaleStatus) {
            this.aftersaleStatus = aftersaleStatus;
        }

        public boolean isIsGroupin() {
            return isGroupin;
        }

        public void setIsGroupin(boolean isGroupin) {
            this.isGroupin = isGroupin;
        }

        public String getOrderSn() {
            return orderSn;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public BigDecimal getActualPrice() {
            return actualPrice;
        }

        public void setActualPrice(BigDecimal actualPrice) {
            this.actualPrice = actualPrice;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public HandleOptionBean getHandleOption() {
            return handleOption;
        }

        public void setHandleOption(HandleOptionBean handleOption) {
            this.handleOption = handleOption;
        }

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public static class HandleOptionBean {
            /**
             * cancel : true
             * delete : false
             * pay : true
             * comment : false
             * confirm : false
             * refund : false
             * rebuy : false
             * aftersale : false
             */

            private boolean cancel;
            private boolean delete;
            private boolean pay;
            private boolean comment;
            private boolean confirm;
            private boolean refund;
            private boolean rebuy;
            private boolean aftersale;

            public boolean isCancel() {
                return cancel;
            }

            public void setCancel(boolean cancel) {
                this.cancel = cancel;
            }

            public boolean isDelete() {
                return delete;
            }

            public void setDelete(boolean delete) {
                this.delete = delete;
            }

            public boolean isPay() {
                return pay;
            }

            public void setPay(boolean pay) {
                this.pay = pay;
            }

            public boolean isComment() {
                return comment;
            }

            public void setComment(boolean comment) {
                this.comment = comment;
            }

            public boolean isConfirm() {
                return confirm;
            }

            public void setConfirm(boolean confirm) {
                this.confirm = confirm;
            }

            public boolean isRefund() {
                return refund;
            }

            public void setRefund(boolean refund) {
                this.refund = refund;
            }

            public boolean isRebuy() {
                return rebuy;
            }

            public void setRebuy(boolean rebuy) {
                this.rebuy = rebuy;
            }

            public boolean isAftersale() {
                return aftersale;
            }

            public void setAftersale(boolean aftersale) {
                this.aftersale = aftersale;
            }
        }

        public static class GoodsListBean {
            /**
             * number : 1
             * picUrl : http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png
             * price : 459.0
             * id : 169
             * goodsName : Carat钻石 不粘厨具组合
             * specifications : ["标准"]
             */

            private int number;
            private String picUrl;
            private double price;
            private int id;
            private String goodsName;
            private String[] specifications;

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String[] getSpecifications() {
                return specifications;
            }

            public void setSpecifications(String[] specifications) {
                this.specifications = specifications;
            }
        }
    }
}
